package edu.nf.project.mappers.storeOperation.convention;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.nf.project.entitys.entity.storeOperation.convention.operate.RefundImage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author CSY
 * @date 2025 - 06 - 20
 * 退款图片mapper
 */
public interface RefundImageMapper extends BaseMapper<RefundImage> {
    @Select("SELECT image_path imagePath FROM refund_image WHERE rr_id = #{rrId} ORDER BY sort_order")
    List<String> selectImagePathsByRrId(@Param("rrId") Integer rrId);
}
